package com.baosight.risk.service.rire.entity;

import com.baosight.risk.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.*;

import lombok.Data;

/**
 * Table: T_RIRE_RISK_WARNING_STATUS_RC
 * 重点风险预警结果（日常预警）
 */
@Data
@ApiModel
@Table(name = "T_RIRE_RISK_WARNING_STATUS_RC")
public class RireRiskWarningStatusRc extends BaseEntity {

    /**
     * 预警模型
     * <p>
     * Table:     T_RIRE_RISK_WARNING_STATUS_RC
     * Column:    WARNING_MODEL_GUID
     * Nullable:  true
     */
    @ApiModelProperty("预警模型")
    @Column(name = "WARNING_MODEL_GUID")
    private String warningModelGuid;

    /**
     * 重点风险ID
     * <p>
     * Table:     T_RIRE_RISK_WARNING_STATUS_RC
     * Column:    IMPORT_GUID
     * Nullable:  true
     */
    @ApiModelProperty("重点风险ID")
    @Column(name = "IMPORT_GUID")
    private String importGuid;

    /**
     * 风险点ID
     * <p>
     * Table:     T_RIRE_RISK_WARNING_STATUS_RC
     * Column:    RISK_ID
     * Nullable:  false
     */
    @ApiModelProperty("风险点ID")
    @Column(name = "RISK_ID")
    private String riskId;

    /**
     * 本期预警状态
     * <p>
     * Table:     T_RIRE_RISK_WARNING_STATUS_RC
     * Column:    WARING_STATUS
     * Nullable:  true
     */
    @ApiModelProperty("本期预警状态")
    @Column(name = "WARING_STATUS")
    private String waringStatus;

    /**
     * 期间号
     * <p>
     * Table:     T_RIRE_RISK_WARNING_STATUS_RC
     * Column:    PERIOD_NO
     * Nullable:  true
     */
    @ApiModelProperty("期间号")
    @Column(name = "PERIOD_NO")
    private String periodNo;

    /**
     * Table:     T_RIRE_RISK_WARNING_STATUS_RC
     * Column:    ACCT_PERIOD
     * Nullable:  true
     */
    @ApiModelProperty("月")
    @Column(name = "ACCT_PERIOD")
    private String acctPeriod;

    /**
     * 年度
     * <p>
     * Table:     T_RIRE_RISK_WARNING_STATUS_RC
     * Column:    ACCT_YEAR
     * Nullable:  true
     */
    @ApiModelProperty("年度")
    @Column(name = "ACCT_YEAR")
    private String acctYear;

    /**
     * 排序
     * <p>
     * Table:     T_RIRE_RISK_WARNING_STATUS_RC
     * Column:    ROW_ORDER
     * Nullable:  true
     */
    @ApiModelProperty("排序")
    @Column(name = "ROW_ORDER")
//    private String rowOrder;
    private Integer rowOrder;
}